Writes via unchecked pointer dereferences rank high among vulnerabilities most often exploited by malicious code. The most common attacks use an unchecked string copy to cause a buffer overrun, thereby overwriting the return address in the function’s activation record. Then, when the function “returns”, control is actually transferred to the attacker’s code. Other attacks may overwrite function pointers, setjmp buffers, system-call arguments, or simply corrupt data to cause a denial of service. A number of techniques have been proposed to address such attacks. Some are limited to protecting the return ad-dress only; others are more general, but have undesirable properties such as having a high runtime overhead, requir-ing manual changes to ...